// Learn TypeScript:
//  - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
export interface levelInfo{
    id:number,//关卡id
    levelName:string,//关卡预制名
    tipsImg:string,//关卡提示
    gravaty?:number,//关卡重力系数比例
    img:string,//关卡图片显示
    OneSize?:number,//一个字符尺寸
    lineSpeed?:cc.Vec2,//字符初始速度
    fiction?:number,//字符摩擦系数
    density?:number,//密度
}


export interface NormalLevelInfo extends levelInfo{
    lock:boolean,
}

export interface Page_Parameter{//页面参数
    onClose?:()=>void,
    onOpen?:()=>void
}

export interface Over_Page_Parameter extends Page_Parameter{
    isWin:boolean;
}
  